package org.jeecg.modules.platform.facade.impl;



import org.springframework.stereotype.Service;


import org.jeecg.base.facade.impl.IFacadeImpl;
import org.jeecg.modules.platform.entity.TaocanItem;
import org.jeecg.modules.platform.facade.ITaocanItemFacade;
import org.jeecg.modules.platform.service.ITaocanItemService;
import org.jeecg.modules.platform.vo.TaocanItemVo;
import org.springframework.beans.BeanUtils;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * @Description: 套餐明细
 * @Author: zj
 * @Date:   2020-05-26
 * @Version: V1.0
 */


@Service
public class TaocanItemFacadeImpl extends IFacadeImpl<TaocanItemVo, TaocanItem, ITaocanItemService>  implements ITaocanItemFacade<TaocanItemVo, TaocanItem> {
        @Autowired
        private ITaocanItemService taocanItemService;


         @Override
         public TaocanItem po2Vo(TaocanItemVo vo) {
                TaocanItem po = new TaocanItem();
                if(vo==null){
                   return null;
                }
                BeanUtils.copyProperties(vo, po);
                return po;
         }

         @Override
         public TaocanItemVo vo2Po(TaocanItem po) {
                TaocanItemVo vo = new TaocanItemVo();
                 if(po==null){
                     return null;
                  }
                BeanUtils.copyProperties(po, vo);
                return vo;
         }

}
